<template>
	<div>
		<button @click="isShow = !isShow">点我显示/隐藏</button>
		<transition
			enter-active-class="animate__lightSpeedInLeft"
			leave-active-class="animate__rollOut"
		>
			<h1 class="animate__animated" v-show="isShow">你好啊！</h1>
		</transition>
	</div>
</template>

<script>
import 'animate.css'
export default {
	name:'App',
	data() {
		return {
			isShow:false
		}
	},
}
</script>

<style>
	h1{
		background-color: orange;
	}
</style>